package com.winning.sjzc.sjygl.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.winning.sjzc.sjygl.entity.SJYXX;
import com.winning.sjzc.sjygl.entity.ZdbEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ElementManageDao extends BaseMapper<SJYXX> {

    List<SJYXX> queryElementListByPage(Map<String, Object> map);

    void deleteElementBySjydm(@Param("map") Map<String, Object> map);

    void  saveElement(SJYXX sjyxx);

    SJYXX querySjyxxBySjydm(String sjydm);

    void updateElement(SJYXX sjyxx);

    List<ZdbEntity> initAddData(String[] arr);
}
